Check return of new_domain inside dom0_init, avoiding segfault if there is
authorEwan Mellor <ewan@xensource.com>
Wed, 13 Dec 2006 11:13:08 +0000 (11:13 +0000)
committerEwan Mellor <ewan@xensource.com>
Wed, 13 Dec 2006 11:13:08 +0000 (11:13 +0000)
commitc0536171422d0a82c2c958b1038c77d692bcd60b
treee76bf20ea34c2ed10e7950b9dcac1a330de71f3f
parent3fdae5e58f09e307cd97897ccef7481935ff8f23
Check return of new_domain inside dom0_init, avoiding segfault if there is
a second instance of xenstored running (and we're using different pid files).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/xenstore/xenstored_domain.c